package com.cuit.controller;

import io.swagger.annotations.Api;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Controller
@Api(tags = "请求百度地图")
@CrossOrigin
@RequestMapping("/map")
public class MapController {
    @RequestMapping("/getPosition")
    public String getPosition(){
        System.out.println("进入百度地图");
        return "map/maptest";
    }
}
